591442ad915cd18a62f647ca57433a0e5428d5d1,dsw/cxf-dsw/src/main/java/org/apache/cxf/dosgi/dsw/handlers/JaxRSPojoConfigurationTypeHandler.java,JaxRSPojoConfigurationTypeHandler,createServerFactory,#BundleContext#Map#Class#Object#String#Bus#,163

Before Change


                                                       String address,
                                                       Bus bus) {
        JAXRSServerFactoryBean factory = new JAXRSServerFactoryBean();
        if (bus != null) {
            factory.setBus(bus);
        }
        List<UserResource> resources = JaxRSUtils.getModel(callingContext, iClass);
        if (resources != null) {

After Change


                                                       String address,
                                                       Bus bus) {
        JAXRSServerFactoryBean factory = new JAXRSServerFactoryBean();
        factory.setBus(bus);
        List<UserResource> resources = JaxRSUtils.getModel(callingContext, iClass);
        if (resources != null) {
            factory.setModelBeansWithServiceClass(resources, iClass);